import Vue from 'vue'
import VueRouter from 'vue-router'
import login from '../views/Login'
import home from '../views/Home'

Vue.use(VueRouter)

const routes = [
  {
    name:'login',
    path:'/Login',
    component:login,
  },
  {
    name: 'home',
    path: '/Home',
    component: home,
  }
]

const router = new VueRouter({
  routes
})

export default router
